<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>轿车撞固定物</title>

  <link rel="stylesheet" href="./css/gx.css" />
  <script src="./js/14.js"></script>

</head>

<body>
  <div class="div1">
    <div class="gx_mk">
      <h3 style="margin-left: 5%; width: auto" id="title_h3"></h3>
    </div>

    <!-- 路外坠车且汽车第一落地点为坡底 -->
    </h3>

    <div class="gx_mk">
      <!-- 公式名  -->
      <p class="my_span" id="my_span"></p>
      <!-- 公式 图片 -->
      <img class="img_gx" id="img_gs" src="" alt="" />
    </div>

    <div class="gx_mk">
      <p>
        <input type="checkbox" id="mycheck" name="mycheck" onclick="IsSP()" />
        <span class="my_span1">跌落时取“＋”号,请勾选此项，否则不勾选</span>
      </p>
      <!-- //s -->
      <p style="display: flex;">
        <input type="number" class="input_x" id="input1" min="1" placeholder="请输入s" />
        <span class="my_span" style="display: block; height: auto; width: auto;line-height: 30px;padding-left:5px ;">
          s:发生碰撞时车辆的质心位置与翻滚或跳跃后首次接触地面的质心位置之间的水平距离,单位为米(m)</span>
      </p>
      <!-- //h -->
      <p style="display: flex;">
        <input type="number" class="input_x" id="input2" min="1" placeholder="请输入h" />
        <span class="my_span" style="display: block; height: auto; width: auto;line-height: 30px;padding-left:5px ;  ">
          h:汽车跌落或上升的垂直距离,跌落时取“＋”号,上升时取“－”号,单位为米(m)</span>
      </p>
    </div>



    <div class="gx_mk">
      <p>
        结果:<span id="result">0 </span>
        <span class="my_span">( v:汽车翻滚或跳跃前的瞬间速度,单位为千米每小时(Km/h))</span>
      <p><span class="my_span">( 注:该式为实验得到的经验公式，实际工作中可对其进行修正。)</span>
      </p>
      <button onclick="calculate()" class="btn-s">提交</button>
      </p>
    </div>
  </div>

</body>

</html>